home *** CD-ROM | disk | FTP | other *** search
/ Clickx 47 / Clickx 47.iso / assets / software / sswitchxp152.exe / source / SpeedswitchXP / ColorComboEx.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-18  |  1.3 KB  |  56 lines

  1. #if !defined(AFX_COLORCOMBOEX_H__82ACEB03_8F6E_11D1_B7B1_00A024DE65ED__INCLUDED_)
  2. #define AFX_COLORCOMBOEX_H__82ACEB03_8F6E_11D1_B7B1_00A024DE65ED__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // ColorComboEx.h : header file
  8. //
  9. // Eric Zimmerman coolez@one.net
  10.  
  11. #include <afxtempl.h>    // Used for CArray
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CColorComboEx window
  15.  
  16. class CColorComboEx : public CComboBox
  17. {
  18. // Construction
  19. public:
  20.     CColorComboEx();
  21.  
  22. // Attributes
  23. public:
  24.  
  25. // Operations
  26. public:
  27.  
  28. // Overrides
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CColorComboEx)
  31.     public:
  32.     virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
  33.     protected:
  34.     virtual void PreSubclassWindow();
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. public:
  39.     CArray<COLORREF, COLORREF> colors;
  40.     virtual ~CColorComboEx();
  41.     
  42.     // Generated message map functions
  43. protected:
  44.     //{{AFX_MSG(CColorComboEx)
  45.     //}}AFX_MSG
  46.  
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51.  
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  54.  
  55. #endif // !defined(AFX_COLORCOMBOEX_H__82ACEB03_8F6E_11D1_B7B1_00A024DE65ED__INCLUDED_)
  56.